<?php

namespace LowCode\Traits\Slots;


use LowCode\Node;

/**
 * 设置组件 slot suffix 后缀内容
 */
trait HasSlotSuffix
{
    /**
     * 设置组件 slot suffix 后缀内容
     * @param Node $node
     * @return $this
     */
    public function slotSuffix(Node $node): static
    {
        return $this->addSlot($node,"suffix");
    }
}
